package com.ls.quartz;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 定时任务
 *
 * @author ls
 * @version v1.0
 * @description
 * @date 2021/8/24 21:32
 */
public class AlphaJob implements Job {

    private static final Logger logger = LoggerFactory.getLogger(AlphaJob.class);

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        logger.debug("context {}", context);
        logger.debug("execute a quartz job");
    }
}
